package com.shuangk.majingze.coolpapa.http.apiservice;


import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import rx.Observable;

public interface CoolService {

    @GET("alsfoxShop/site/index/selectIndexContent.action?")
    Observable<ResponseBody> remoteMain(@Query("timestamp") long city, @Query("sign") String sign);

    @POST("cc/json/mobile_tel_segment.htm")
    Observable<ResponseBody> remote(@QueryMap Map<String,String> params);
}
